package com.lp.business.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.iframework.support.spring.hibernate.model.BaseHibernateModelSupport;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.ibm.icu.math.BigDecimal;

/**
 * 报告信息模型
 * 
 * @author lp
 * @date 2018-08-08 18:23:41
 */
@JsonIgnoreProperties({"clazzName","modelName"})
@Entity
@Table(name = "report")
@org.hibernate.annotations.Table(appliesTo = "report", comment = "报告信息模型")
public class Report extends BaseHibernateModelSupport {
	private static final long serialVersionUID = 1L;
	
	/** 封面 */
	@Column(columnDefinition = "varchar(512)  comment '封面'")
	private String cover;
	
	/** 报告名*/
	@Column(columnDefinition = "varchar(256)  comment '报告名'")
	private String name;
	
	/** 作者*/
	@Column(columnDefinition = "varchar(64)  comment '作者'")
	private String author;
	
	/** 价格 */
	@Column(columnDefinition = "DECIMAL(20,2) comment '价格'")
	private BigDecimal price;
	
	/** 行业分类，可多个*/
	@Column(columnDefinition = "varchar(256)  comment '行业分类，可多个'")
	private String industries;
	
	/** 文件路径 */
	@Column(columnDefinition = "varchar(512)  comment '文件路径 '")
	private String filePath;
	
	/** 描述信息 */
	@Column(columnDefinition = "varchar(1024)  comment '描述信息 '")
	private String description;
	
	/** 数据来源 */
	@Column(columnDefinition = "varchar(128)  comment '数据来源 '")
	private String source;
	
	/** 数据来源url */
	@Column(columnDefinition = "varchar(512)  comment '数据来源url '")
	private String sourceUrl;

	public String getCover() {
		return cover;
	}

	public void setCover(String cover) {
		this.cover = cover;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public String getIndustries() {
		return industries;
	}

	public void setIndustries(String industries) {
		this.industries = industries;
	}

	public String getFilePath() {
		return filePath;
	}

	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public String getSourceUrl() {
		return sourceUrl;
	}

	public void setSourceUrl(String sourceUrl) {
		this.sourceUrl = sourceUrl;
	}
	
}
